<template>
	<view class="lj-empty" :style="{paddingTop:paddingTop,paddingBottom:paddingBottom}">
		<image class="icon" src="/static/lj/common/icon_norecord.png" mode="aspectFill" v-if="showIcon"></image>
		<view class="tip">{{text}}<slot></slot></view>
	</view>
</template>

<script>
	export default {
		name:"lj-empty",
		props:{
			text: {
				type: String,
				default: ""
			},
			paddingTop: {
				type: String,
				default: "214rpx"
			},
			paddingBottom: {
				type: String,
				default: "80rpx"
			},
			showIcon: {
				type: Boolean,
				default: true
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="less">
	.icon{
		display: block;
		width: 254rpx;
		height: 208rpx;
		margin: 0 auto;
	}
	.tip{
		font-size: 28rpx;
		color: #999999;
		margin-top: 34rpx;
		text-align: center;
	}
</style>
